#ifndef ASYNCHRONOUS_FINDER_H
#define ASYNCHRONOUS_FINDER_H

#include <map>
#include <vector>
#include <iostream>
#include <aio.h>

// policy class
class AsynchronousFinder {
    public:
        void setParameters(std::map<const char*, bool> _params);
        void setFiles(std::vector<std::string> _files);
        void setPattern(std::string _pattern);
        void find();
        struct ioRequest* openFiles();


        std::map<const char*, bool>  m_parameters;
        std::vector<std::string>     m_files;
        std::string                  m_pattern;
};


#endif //ASYNCHRONOUS_FINDER_H
